import { createApp } from 'vue'
import '@/assets/style/index.css'
import App from './App.vue'
// 路由
import router from "@/router"
// 状态管理
import store from "@/store"
// 组件库
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElIcon from '@element-plus/icons-vue'

// 黑白
// document.body.style.WebkitFilter = "grayscale(100%)"

// app
const app = createApp(App)
app.use(router);
app.use(store);
app.use(ElementPlus);


Object.keys(ElIcon).forEach((key) => {
    app.component(key, ElIcon[key])
})

app.mount('#app')
